# _*_ encoding:utf-8 _*_

from django.urls import path, re_path

from . import views

urlpatterns = [

    # 首页房屋推荐接口
    path('api/v1.0/houses/index', views.IndexHomeView.as_view()),

    # 房屋搜索接口/发布房源接口
    path('api/v1.0/houses', views.AnnounceHouses.as_view()),

    # 房源图片上传接口
    path('api/v1.0/houses/<int:house_id>/images', views.HomeImgView.as_view()),

    # 房屋详情接口
    path('api/v1.0/houses/<int:house_id>', views.DetailView.as_view()),

    # 城区列表接口
    path('api/v1.0/areas', views.AreaView.as_view())
]
